/* BEGIN estructura de la web */
#root {
    margin-left: auto;
    margin-right: auto;
    width: 970px;
    font-family: helvetica, Arial, sans-serif;
}

#head {
    background-color: #e8e8e8;
    width: 100%;
    height: 60px;
    color: #3B5323;
    margin-bottom: 5px;
}

#head div.left{
    float: left;
    width: 160px;
    height: 100%;
    overflow: hidden;
}

#head div.left img{
    margin-left: 30px;
}

#head div.center{
    float: left;
    width: 300px;
    height: 100%;
    margin-left: 35px;
    overflow: hidden;
}

#head div.right{
    float: right;
    width: 440px;
    height: 100%;
    font-size: 13px;
}

#content {
    width: 100%;
    min-height: 410px;
}

#foot {
    background-color: #e8e8e8;
    width: 100%;
    height: 13px;
    color: #3B5323;
    font-size: 10px;
    float: left;
    margin-top: 5px;
    margin-bottom: 30px;
}

#cleft {
    width: 17%;
    float: left;
}

#cright {
    width: 81%;
    float: right;
    padding: 0px 5px;
}

#loading {
    color: #3B5323;
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    margin-top: 20px;
    cursor: progress;
}

#loading img {
    float: left;
}

#loading span {
    display: inline-block;
    float: left;
    margin-bottom: 3px;
    margin-left: 5px;
}

#error {
    width: 100%;
    color: #cc0000;
    font-size: 13px;
    margin-top: 5px;
    text-align: center;
}

.boto, .boto:hover {
  background-color: #A2BC13;
  color: #3B5323;
  text-align: center;
  cursor: pointer;
}

.boto2, .boto2:hover {
  background-color: #e8e8e8;
  color: #3063A5;
  text-align: center;
  cursor: pointer;
}

.boto:hover, .boto2:hover {
  background-color: #C2C2C2;
}

label.error {
    color: #cc0000;
    font-size: 10px;
}

/* END estructura de la web */

/* BEGIN menu d'usuari */
#login {
    float: right;
    text-align: right;
    height: 35px;
    margin-top: 5px;
    margin-right: 10px;
    width: 96%;
}

#login input {
    float: right;
    border: none;
    padding: 2px;
    font-size: 11px;
    color: #3B5323;
    margin-right: 5px;
}

#user {
    width: 120px;
}

#pass {
    width: 70px;
}

#botoLI {
    display: inline-block;
    float: right;
    font-size: 13px;
    padding: 2px 5px;
}

#nomUser {
    text-align: right;
    text-transform: capitalize;
    padding: 2px 5px;
}

#minimenu {
    float: right;
    width: 100%;
}

#minimenu div {
    display: inline-block;
    padding: 0px 5px;
    margin-right: 10px;
    float: right;
}

#menuOp {
    width: 90px;
    position: absolute;
    overflow: hidden;
    background-color: #e8e8e8;
    border: 1px solid #C2C2C2;
    padding: 5px;
}

#menuOp div {
    display: inline-block;
    margin-bottom: 1px;
    width: 100%;
    text-align: center;
}

#menuCarret {
    width: 400px;
    position: absolute;
    background-color: #e8e8e8;
    padding: 5px;
    color: #666666;
    border: 1px solid #C2C2C2;
    overflow: hidden;
}

#menuCarret div.prods {
    width: 100%;
    overflow: hidden;
}

#menuCarret div.prods span.noProd {
    font-size: 15px;
    display: inline-block;
    text-align: center;
    color: #3B5323;
    width: 100%;
    margin: 5px 0px;
}

#menuCarret div.prods div, #menuCarret div.prods div:hover{
    width: 98%;
    margin-left: 2px;
    margin-bottom: 2px;
    color: #3B5323;
    padding: 2px;
}

#menuCarret div.prods div:hover{
    color: #3063A5;
    background-color: #C2C2C2;
}

#menuCarret div.prods div span {
    font-size: 12px;
    display: inline-block;
    margin-right: 3px;
    text-align: center;
    overflow: hidden;
}

#menuCarret div.prods div span.uni{
    width: 35px;
}

#menuCarret div.prods div span.elim, #menuCarret div.prods div span.elim:hover {
    background-color: inherit;
    width: 15px;
    font-weight: bold;
    cursor: pointer;
    float: right;
    color: #cc0000;
}

#menuCarret div.prods div span.elim:hover {
    color: #ffffff;
}

#menuCarret div.prods div span.euro {
    width: 70px;
    float: right;
}

#menuCarret div.prods div span.nomItem {
    width: 168px;
}

#menuCarret .boto {
    padding: 3px 5px;
    display: inline-block;
    margin-top: 10px;
    float: right;
    margin-left: 4px;
    cursor: pointer;
}

/* END menu d'usuari */

/* BEGIN menu productes */
ul#menu, ul#menu ul {
  list-style-type:none;
  margin: 0;
  padding: 0;
  width: 10em;
}

ul#menu li {
  margin-top: 1px;
}

ul#menu li span, ul#menu li span:hover {
  background-color: #A2BC13;
  color: #3B5323;
  display: inline-block;
  width: 100%;
  padding: 5px 0px;
  text-align: center;
  cursor: pointer;
}

ul#menu li span:hover {
  background-color: #C2C2C2;
}

ul#menu li ul li {
  background: #e8e8e8;
  color: #3063A5;
  padding-left: 20px;
  cursor: pointer;
}

ul#menu li ul li:hover {
  background: #C2C2C2;
  padding-left: 20px;
  cursor: pointer;
}
/* END menu productes */

/* BEGIN vista productes */
div.path {
    background-color: #FFCC11;
    color: #3B5323;
    padding: 3px 5px;
    width: 550px;
    font-size: 12px;
    float: left;
    margin-top: -5px;
    height: 15px;
}

div.path span, div.path span:hover {
    display: inline-block;
    cursor: pointer;

}

div.path span:hover {
    text-decoration: underline;
}

div.pagines {
    width: 530px;
    float: left;
    margin-left: 20px;
    margin-top: -2px;
}

div.pagines span, div.paginesB span {
    display: inline-block;
    font-size: 11px;
    background-color: #cccccc;
    width: 15px;
    padding: 2px 3px;
    text-align: center;
    cursor: pointer;
    color: #3B5323;
}

div.pagines span:hover, div.paginesB span:hover {
    background-color: #3B5323;
    color: #ffffff;
}

#page {
    float: left;
    width: 100%;
    margin-top: 5px;
    min-height: 500px;
}

div.paginesB {
    width: 530px;
    float: left;
    margin-left: 20px;
    padding: 0px;
    margin-bottom: -5px;
}

/* END vista productes */

/* BEGIN producte */
#page div.producte {
    float: left;
    border: 1px solid #3B5323;
    background-color: #e8e8e8;
    padding: 5px 10px;
    margin: 10px 15px;
    width: 200px;
    height: 250px;
}
#page div.producte div.img img {
    max-width: 190px;
    max-height: 150px;
    cursor: pointer;
}
#page div.producte div.img {
    width: 100%;
    height: 150px;
    float: left;
    text-align: center;
}
#page div.producte div.nomProd {
    width: 100%;
    height: 50px;
    text-align: center;
    cursor: pointer;
    float: left;
    color: #3B5323;
}
#page div.producte div.nomProd span:hover {
    color: #3063A5;
}
#page div.producte div.addcar .boto {
    padding: 2px;
    font-weight: bold;
    font-size: 12px;
    float: right;
    margin-left: 5px;
    border: none;
    text-align: center;
    width: 60px;
}
#page div.producte div.flags img {
    float: left;
}
#page div.producte div.flags, #page div.producte div.addcar {
    width: 100%;
    float: left;
}
#page div.producte div.flags span.preu {
    color: #3063A5;
    font-weight: bold;
    font-size: 17px;
    float: right;
    width: 100px;
    text-align: right;
}
#page div.producte div.addcar input {
    border: 1px solid #3B5323;
    font-size: 11px;
    color: #3B5323;
    padding: 1px;
    text-align:right;
    width: 30px;
    float: right;
}

#page div.producte div.addcar input.error {
    border: 2px solid #cc0000;
}

/* END producte */

/* BEGIN registar */
#registrar div {
    font-size: 13px;
    color: #3B5323;
    background-color: #e8e8e8;
    margin-top: 2px;
    padding: 5px 10px;
}

#registrar div span {
    margin-left: 10px;
}

#registrar div input {
    margin-left: 3px;
    border: 1px solid #3B5323;
    padding: 2px 3px;
    color: #3B5323;
}

#registrar div input.error, #registrar div select.error {
    border: 2px solid #cc0000;
}

#registrar div.botons {
    font-size: 15px;
    color: #ffffff;
    background-color: #ffffff;
    margin-top: 10px;
    height: 50px;
    text-align: center;
    width: 100%;
}

#registrar div.botons input {
    border: none;
}

#rBanc, #rOfi {
    width: 30px;
}

#rDC {
    width: 15px;
}

#rCC, #rData {
    width: 75px;
}

#rCp {
    width: 37px;
}

#rNom {
    width: 85px;
}

#rCog {
    width: 170px;
}

#rAdr, #rPob {
    width: 220px;
}

#rMail, #rMail {
    width: 190px;
}

#rTel, #rPas, #rPas2 {
    width: 112px;
}

#missatge {
    border: 2px solid #ac1212;
    background-color: #ffffff;
    font-size: 15px;
    font-weight: bold;
}
/* END registar */

/* BEGIN detall producte */
#page div.prodDet {
    background-color: #e8e8e8;
    width: 98%;
    padding: 10px;
    color: #3B5323;
    float: left;
}

#page div.prodDet div.nom {
    width: 100%;
    color: #3063A5;
    font-size: 20px;
}

#page div.prodDet hr {
    width: 100%;
    border: 1px solid #3B5323;
    margin-top: -1px;
    float: left;
}

#page div.prodDet div.img {
    width: 49%;
    margin-top: 5px;
    text-align: center;
    float: left;
}

#page div.prodDet div.img img {
    max-width: 100%;
    max-height: 300px;
}

#page div.prodDet div.descripcio {
    margin-top: 5px;
    width: 49%;
    float: right;
}

#page div.prodDet div.preu {
    margin-top: 15px;
    width: 49%;
    float: right;
    text-align: right;
}

#page div.prodDet div.preu span {
    color: #3063A5;
    font-size: 18px;
    font-weight: bold;
}

#page div.prodDet div.preu img {
    float: left;
}

#page div.prodDet div.addcar {
    width: 49%;
    float: right;
    margin-top: 15px;
}


#page div.prodDet div.addcar input {
    border: 1px solid #3B5323;
    font-size: 11px;
    color: #3B5323;
    padding: 1px;
    text-align:right;
    width: 30px;
    float: right;
}

#page div.prodDet div.addcar input.error {
    border: 2px solid #cc0000;
}

#page div.prodDet div.addcar .boto {
    padding: 2px;
    font-weight: bold;
    font-size: 12px;
    float: right;
    margin-left: 5px;
    border: none;
    text-align: center;
    width: 60px;
}

#puntuacio {
    max-width: 100%;
    margin-left: 20px;
    float: left;
}

#puntuacio span {
    color: #3063A5;
    font-size: 17px;
}

#puntuacio select {
    margin-left: 10px;
}

#puntuacio div {
    display: inline-block;
}

#comments {
    background-color: #e8e8e8;
    color: #3B5323;
    padding: 10px;
    width: 98%;
    float: left;
    margin: 10px 0px;
}

#comments div.nom {
    width: 100%;
    height: 30px;
    margin-top: 5px;
}

#comments div.nom span {
    background-color: #C2C2C2;
    padding: 5px 10px;
}

#comments div.intro {
    width: 100%;
}

#comments div.intro textarea {
    width: 550px;
    height: 100px;
}

#send {
    width: 100px;
    margin-top: 5px;
}

#comments hr {
    border: 2px solid #C2C2C2;
}

#comments div.text_comment {
    border: 2px solid #C2C2C2;
    width: 100%;
    margin-top: 5px;
    float: left;
}

#comments div.dades {
    color: #3063A5;
    font-size: 12px;
    width: 100%;
}

#comments div.dades div {
    display: inline-block;
    width: 48%;
    margin: 0px 5px;
    border-bottom: 1px solid #C2C2C2;
}

#comments div.dades div.nomU {
    float: left;
    text-transform: capitalize;
}

#comments div.dades div.hora {
    float: right;
    text-align: right;
}

#comments div.comm {
    float: left;
    margin: 10px;
    font-size: 14px;
}

#comments div.noCom {
    margin: 5px 10px;
    font-size: 14px;
}
/* END detall producte */

/* BEGIN preferencies */
#page div.carrets {
    width: 46%;
    float: left;
}
#page div.carret {
    width: 97%;
    background-color: #e8e8e8;
    color: #3B5323;
    padding: 5px;
    margin-top: 5px;
    text-align: center;
}

#page div.carretT {
    width: 97%;
    border: 2px solid #3B5323;
    background-color: #e8e8e8;
    color: #3B5323;
    padding: 5px;
    margin-top: 5px;
    text-align: center;
}

#detalls {
    margin-top: 5px;
    border: 1px solid #c2c2c2;
    width: 48%;
    float: right;
    background-color: #e8e8e8;
}

#page div.carret div, #page div.carret div:hover  {
    display: inline-block;
    background-color: #A2BC13;
    font-size: 12px;
    padding: 2px 3px;
    cursor: pointer;
}

#page div.carret div:hover {
    background-color: #C2C2C2;
}

#detalls span.noProd {
    font-size: 15px;
    display: inline-block;
    text-align: center;
    color: #3B5323;
    width: 100%;
    margin: 5px 0px;
}

#detalls div {
    width: 98%;
    margin-left: 2px;
    margin-bottom: 2px;
    color: #3B5323;
    padding: 2px;
}

#detalls div span {
    font-size: 12px;
    display: inline-block;
    margin-right: 3px;
    text-align: center;
    overflow: hidden;
}

#detalls div span.uni{
    width: 35px;
}

#detalls div span.euro {
    width: 70px;
    float: right;
}

#detalls div span.nomItem {
    width: 168px;
}

#detalls div.totalC {
    width: 97%;
    text-align: right;
}
/* END preferencies */